package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点单据详情对象 wms_inventory_check_detail
 * 
 * @author ruoyi
 * @date 2024-12-17
 */
public class InventoryCheckDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 库存盘点单 */
    @Excel(name = "库存盘点单")
    private Long inventoryCheckId;

    /** 物料 */
    @Excel(name = "物料")
    private Long itemId;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private BigDecimal quantity;

    /** 盘点数量 */
    @Excel(name = "盘点数量")
    private BigDecimal checkQuantity;

    /** 删除标识 */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInventoryCheckId(Long inventoryCheckId) 
    {
        this.inventoryCheckId = inventoryCheckId;
    }

    public Long getInventoryCheckId() 
    {
        return inventoryCheckId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setQuantity(BigDecimal quantity) 
    {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity() 
    {
        return quantity;
    }
    public void setCheckQuantity(BigDecimal checkQuantity) 
    {
        this.checkQuantity = checkQuantity;
    }

    public BigDecimal getCheckQuantity() 
    {
        return checkQuantity;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryCheckId", getInventoryCheckId())
            .append("itemId", getItemId())
            .append("quantity", getQuantity())
            .append("checkQuantity", getCheckQuantity())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
